package com.mocha.bss.domain.rbac.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coffee.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 *  菜单 功能  已放入 nacos
 *
 * @author Songkui
 * @since 2023-03-20
 */
@Data
@EqualsAndHashCode(of ={"id"}, callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_function")
public class RoleFunctionEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("function_code")
    private String functionCode;

    @TableField("role_id")
    private Integer roleId;


}
